package net.app.zoneland.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import net.app.zoneland.common.core.entity.BaseEntity;

import java.util.List;

/**
 * @Description 用户实体类
 * @Author cjb
 * @CreateTime 2020/12/20 12:42
 * @Version: 1.0
 */
@Data
public class SysUser extends BaseEntity {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    private String username;

    private String nickname;

    private String mobile;

    private Integer gender;

    private String avatar;

    private String password;

    private Integer status;

    private Integer deleted;

    private Integer roleId;

    private String email;

    private List<SysRole> roles;

}
